

WindDataCommand = function() {
	this.filters = new Array(); 
}

WindDataCommand.prototype.setOperation = function(operation) {
	this.operation = operation;
}

WindDataCommand.prototype.getOperation = function() {
	return this.operation;
}

WindDataCommand.prototype.setType = function(type) {
	this.type = type;
}

WindDataCommand.prototype.getType = function() {
	return this.type;
}

WindDataCommand.prototype.setSort = function(sort) {
	this.sort = sort;
}

WindDataCommand.prototype.getSort = function() {
	return this.sort;
}

WindDataCommand.prototype.addFilter = function(property, operator, value) {
	var filter = new Object();
	filter.property = property;
	filter.operator = operator;
	filter.value = value;
	this.filters[this.filters.length] = filter;
}


